package com.spring.boot.feign;

import org.springframework.stereotype.Component;

@Component
public class TeacherFeignFallback implements TeacherFeign {

	@Override
	public Object getMember(String name) {
		System.out.println("断路器方法 getMember");
		return "断路器方法 getMember";
	}

	@Override
	public Object getBody(String body) {
		return null;
	}

}
